home *** CD-ROM | disk | FTP | other *** search
- Kurz: gibt Bilddimensionen OHNE Datatypes aus
- Short: Shows picture dimensions without datatypes
- Author: Christian Effenberger (youcan@amclust.de)
- Uploader: Christian Effenberger (youcan@amclust.de)
- Version: 1.0 (31-May-2001)
- Type: gfx/misc
- Origin: www.amclust.de/software/archive/
- Requires: OS 2.x , CanDo Lib 3.00x
-
-
- PURPOSE
-
- GetImageInfo 1.0 (31.05.2001), © 2001 by Christian Effenberger
-
- The archive contains a small program to determine picture
- dimensions without the use of datatypes (headers only).
-
- Since I am working a lot with images that were downloaded from
- Aminet or other internet sources, were made by myself or were
- generated by software, sometimes its useful to list image
- dimensions instead of showing them or using other image viewers
- with verbose output.
-
- Supported formats: BMP GIF IFF JPEG PBM PCX PNG PSD SUN TARGA TIFF
-
- If started from Workbench - a FileRequester is poping up, asking
- for an Image file and then showing all Informations in a Reqeuster.
-
- If it's used through command line, certain special %-codes are available.
-
-
-
- INSTALL
-
- Simply unpack the archive to anywhere you want.
- I prefer to copy the executable to C:.
-
-
-
- REQUIREMENTS
-
- - OS 2.x
- - CanDo Lib 3.00x
- - minimum of memory (cause GetImageInfo reads only the header)
-
-
-
- USAGE
-
- GetImageInfo FILE/A[,STRING]
-
- If started from Workbench - a FileRequester is poping up, asking
- for an Image file and then showing all Informations in a Reqeuster.
-
- If it's used through command line, certain special %-codes are available:
- The option STRING allows you to define an own output string. The default
- format string is...
-
- "%n: %w x %h [%f]"
-
- The format types are:
-
- %n name of the file (the filename without path)
- %p full path including trailing '/' and ':'
- (even, when you didn't provided one)
- %r relative path including trailing '/'
- %w width of image
- %h height of image
- %f short format of image (i.e. JPEG)
- %e expanded format of image (i.e. Joint Photografic Expert Group)
- %d file date (DD-MMM-YYYY
- %s file size (Bytes)
- %c file comment
-
- %l linefeed ($char 10)
- %t tabulator ($char 9)
-
- use double " inside of STRING (i.e. "%n ""string"" %f")
-
-
-
- EXAMPLES
-
- GetImageInfo file.gif
-
- OUTPUT » file.gif: 256 x 256 [GIF]
-
-
- GetImageInfo file.gif "<IMG SRC=""%n"" ALT=""%c"" WIDTH=%w HEIGHT=%h BORDER=0>"
-
- OUTPUT » <IMG SRC="file.gif" ALT="comment" WIDTH=256 HEIGHT=256 BORDER=0>
-
-
- GetImageInfo file.gif "Image: %n%lDimension: %w×%h%lFormat: %f (%e)%lSize: %s Bytes%lDate: %d"
-
- OUTPUT » Image: file.gif
- Dimension: 256×256
- Format: GIF (Graphics Interchange Format)
- Size: 16582 Bytes
- Date: 21-May-1999
-
-
-
- NOTE
-
- Sometimes GetImageInfo coul't determine Photoshop JPEG's, cause Adobe uses
- properitary chunks (totally sensless to the Web) in front of the width and
- height including chunk. Load this images and save them again as JPEG to fix
- the problem.
-
-
-
- AUTHOR
-
- Christian Effenberger
- Suedstraße 2
- 41564 Kaarst
- G E R M A N Y
-
- 0049-(0)2131-669392
- youcan@amclust.de
-